//package com.example.rpcconsumerdemo;
//
//import com.example.rpcconsumerdemo.jacksondemo.service.IShopRpc;
//import org.apache.dubbo.config.annotation.DubboReference;
//import org.apache.dubbo.config.spring.ReferenceBean;
//import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//@EnableDubboConfig
//@Configuration
//public class ReferenceConfiguration {
//
//    @Bean
//    @DubboReference(version = "1.0.0",interfaceClass = IShopRpc.class)
//    public ReferenceBean<IShopRpc> shopService() {
//        return new ReferenceBean();
//    }
//}
